emida-ux

(0 reviews)

Retrieve Customer

/customer

[GET]

This usecase is to retrieve customer details based on identity proof.

URL
https://[host]:[port]/emida-ux/v1/{businessId}/customer
URI Params
nametypedescriptionrequired
businessIdstringDefault CR for Costa RicaY
Headers
nametypedescriptionrequired
client_idstringThe client_id identifying the channel. Minimum characters: 5Y
client_secretstringPassword associated with the client_id. Minimum characters: 5Y
X-Correlation-IDstringIdentifier that correlates HTTP request between a client and server.
Any identification model (UUDI, checksum, etc.) can be used, as long as it is a unique value to differentiate a transaction.
Y
Query Param
nametypedescriptionrequired
engagedParty.individualIdentification.identificationIdstringUnique Identifier of Identification Type.Y
engagedParty.individualIdentification.identificationTypestringExpected values are: ID Card, Legal ID, Resident ID, Passport, TIM and Others.Y
cURL Request
curl --location 'https://nonprod.lcr.esb.cloud.lla.com/test/emida-ux-lcr/emida-ux/v1/CR/customer?engagedParty.individualIdentification.identificationId=484239892&engagedParty.individualIdentification.identificationType=passport' \
--header 'X-Correlation-ID: {{$guid}}' \
--header 'client_secret: ******' \
--header 'client_id: ******'
Response
[ {
    "id": "1234",
  "name": "JUAN CARLOS PEREZ GONZALEZ",
  "status": "active",
  "account": [
    {
      "id": "1079301",
      "@type": "BillingAccount"
    }
  ],
  "contactMedium": [
    {
      "mediumType": "email",
      "characteristic": {
        "emailAddress": "someeamil@gmail.com"
      }
    },
    {
      "mediumType": "Telephone",
      "characteristic": {
        "phoneNumber": "5555555555"
      }
    }
  ],
  "engagedParty": [
            {
                "@referredType": "Individual",
                "id": "1234",
                "role": "Customer",
                "name": "JUAN CARLOS PEREZ GONZALEZ",
                 "individualIdentification": [
            {
            "identificationType": "passport",
            "identificationId": "900770050"
            }
  ]
  }
  ],
  "@type": "Customer"
}]

Reviews